package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserIntegralConsumeRecordDao;
import com.frogs.ucenter.entity.UserIntegralConsumeRecord;
import com.frogs.ucenter.service.UserIntegralConsumeRecordService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userIntegralConsumeRecordService")
public class UserIntegralConsumeRecordServiceImpl extends BaseServiceImpl<UserIntegralConsumeRecord> implements UserIntegralConsumeRecordService {
    @Autowired
    private UserIntegralConsumeRecordDao userIntegralConsumeRecordDao;

    public UserIntegralConsumeRecordServiceImpl() {
        super();
    }

    public UserIntegralConsumeRecordDao getUserIntegralConsumeRecordDao() {
        return userIntegralConsumeRecordDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserIntegralConsumeRecord> getBaseDao() {
        return userIntegralConsumeRecordDao;
    }

    public void setUserIntegralConsumeRecordDao(UserIntegralConsumeRecordDao userIntegralConsumeRecordDao) {
        this.userIntegralConsumeRecordDao = userIntegralConsumeRecordDao;
    }
}